var Collider = {

	inside : function(_aBoundsX, _aBoundsY, _aBoundsW, _aBoundsH, _bBoundsX, _bBoundsY, _bBoundsW, _bBoundsH)
	{
		if(_aBoundsY + _aBoundsH > _bBoundsY && _aBoundsX + _aBoundsW >= _bBoundsX && _aBoundsX <= _bBoundsX + _bBoundsW && _aBoundsY <= _bBoundsY + _bBoundsH)
		{
			return true;
		}else{
			return false;
		}
	},

	outside : function(_aBoundsX, _aBoundsY, _aBoundsW, _aBoundsH, _bBoundsX, _bBoundsY, _bBoundsW, _bBoundsH)
	{
		if(_aBoundsY + _aBoundsH < _bBoundsY || _aBoundsX + _aBoundsW < _bBoundsY || _aBoundsX > _bBoundsX + _bBoundsW || _aBoundsY > _bBoundsY + _bBoundsH)
		{
			return true;
		}else{
			return false;
		}
	},

	top : function(_aBoundsX, _aBoundsY, _aBoundsW, _aBoundsH, _bBoundsX, _bBoundsY, _bBoundsW, _bBoundsH)
	{
		if(_aBoundsY + _aBoundsH < _bBoundsY)
		{
			return true;
		}else{
			return false;
		}
	},

	left : function(_aBoundsX, _aBoundsY, _aBoundsW, _aBoundsH, _bBoundsX, _bBoundsY, _bBoundsW, _bBoundsH)
	{
		if(_aBoundsX + _aBoundsW < _bBoundsX)
		{
			return true;
		}else{
			return false;
		}
	},

	right : function(_aBoundsX, _aBoundsY, _aBoundsW, _aBoundsH, _bBoundsX, _bBoundsY, _bBoundsW, _bBoundsH)
	{
		if(_aBoundsX > _bBoundsX + _bBoundsW)
		{
			return true;
		}else{
			return false;
		}
	},

	bottom : function(_aBoundsX, _aBoundsY, _aBoundsW, _aBoundsH, _bBoundsX, _bBoundsY, _bBoundsW, _bBoundsH)
	{
		if(_aBoundsY > _bBoundsY + _bBoundsH)
		{
			return true;
		}else{
			return false;
		}
	}
}